package router

import (
	"github.com/gin-gonic/gin"
	"video-sys/handler"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/VideoAdd", handler.VideoAdd)
	r.GET("/VideoDel", handler.VideoDel)
	r.GET("/VideoList", handler.VideoList)
	return r
}
